<?php
     require_once '../../model/global.inc.php'; 
    $sql = "SELECT * FROM tblbidhistory";  
    $result = mysql_query($sql);  
    if(mysql_num_rows($result) == 1) 
    {
        $arr = $_POST['file'];
        $sql = "SELECT * FROM tblbidhistory";  
        $result = mysql_query($sql); 
    }
?>
